package com.maxie.group;

/**
 * 树节点链路
 */
public class Link {
    /**
     * 起始节点
     */
    private Integer fromId;

    /**
     * 下一个节点
     */
    private Integer toId;

    public Link(Integer fromId, Integer toId) {
        this.fromId = fromId;
        this.toId = toId;
    }

    public Integer getFromId() {
        return fromId;
    }

    public void setFromId(Integer fromId) {
        this.fromId = fromId;
    }

    public Integer getToId() {
        return toId;
    }

    public void setToId(Integer toId) {
        this.toId = toId;
    }
}
